package com.bristua.barcode.order.enums;

/**
 * Created by Administrator on 2019/8/3 0003.
 */
public enum OrderCode {
    SEND_ORDER_FAIL_QRCODE_NOT_FIND(3000,"下单失败，没有可用的商品"),
    RE_SNED_ORDER(3001,"下单失败，不能重复下单"),
    SEND_ORDER_SUCCESS(0,"下单成功"),
    NO_CONFIG_CHANNEL(3002,"该渠道不存在")
    ;
    private OrderCode(int code, String msg){
        this.code = code;
        this.msg = msg;
    }
    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
